package edu.tms.bean;

import java.util.*;

/**
 * 作业提交表
 * @author Administrator
 *
 */
public class WorkSubmit {
	/**
	 * 学生作业id
	 */
	private Integer workSubmitId;

	/**
	 * 作业id
	 */
	private Integer homewordId;

	/**
	 * 学生id
	 */
	private Integer stuId;

	/**
	 * 提交内容
	 */
	private String workContent;

	/**
	 * 作业文件地址
	 */
	private String workFile;

	/**
	 * 提交时间
	 */
	private Date createTime;

	/**
	 * 提交状态，1正常，2冻结
	 */
	private Integer workState;

	
	private String className;
	
	private String stuName;
	
	private String workLevel;
	
	private Integer workQualityId;

	public WorkSubmit () {
		super();
	}

	public WorkSubmit (Integer workSubmitId,Integer homewordId,Integer stuId,String workContent,String workFile,Date createTime,Integer workState) {
		this.workSubmitId = workSubmitId;
		this.homewordId = homewordId;
		this.stuId = stuId;
		this.workContent = workContent;
		this.workFile = workFile;
		this.createTime = createTime;
		this.workState = workState;
	}

	public Integer getWorkSubmitId() {
		return this.workSubmitId;
	}

	public void setWorkSubmitId(Integer workSubmitId) {
		this.workSubmitId = workSubmitId;
	}

	public Integer getHomewordId() {
		return this.homewordId;
	}

	public void setHomewordId(Integer homewordId) {
		this.homewordId = homewordId;
	}

	public Integer getStuId() {
		return this.stuId;
	}

	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}

	public String getWorkContent() {
		return this.workContent;
	}

	public void setWorkContent(String workContent) {
		this.workContent = workContent;
	}

	public String getWorkFile() {
		return this.workFile;
	}

	public void setWorkFile(String workFile) {
		this.workFile = workFile;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getWorkState() {
		return this.workState;
	}

	public void setWorkState(Integer workState) {
		this.workState = workState;
	}

	@Override
	public String toString() {
		return "WorkSubmit[workSubmitId=" + workSubmitId+ ", homewordId=" + homewordId + ", stuId=" + stuId + ", workContent=" + workContent +
				", workFile=" + workFile + ", createTime=" + createTime + ", workState=" + workState +
				"className"+className+"stuName"+stuName+"workLevel"+workLevel+"]";
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public String getWorkLevel() {
		return workLevel;
	}

	public void setWorkLevel(String workLevel) {
		this.workLevel = workLevel;
	}

	public Integer getWorkQualityId() {
		return workQualityId;
	}

	public void setWorkQualityId(Integer workQualityId) {
		this.workQualityId = workQualityId;
	}


}

